package com.atguigu.tingshu.order.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.order.client.OrderInfoFeignClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class OrderInfoDegradeFeignClient implements OrderInfoFeignClient {

    private static final Logger log = LoggerFactory.getLogger(OrderInfoDegradeFeignClient.class);

    @Override
    public Result<OrderInfo> getOrderInfo(String orderNo) {
        log.info("【降级】查询订单信息");
        return null;
    }
}
